package com.xcity.pomelo.push.sync;

import com.xcity.pomelo.PomeloRoute;
import com.xcity.pomelo.push.SyncPush;

import naga.x.net.impl.pomelo.PomeloMessage;
import naga.x.net.impl.pomelo.protocol.Message;

/**
 * 自定义的同步项
 * @author yang.li
 *
 */
@PomeloMessage(type = Message.Type.PUSH, route = PomeloRoute.PUSH_SYNC)
public class CustomSync extends SyncPush {

	protected Object ref;
	
	public CustomSync(short id, Object ref) {
		super(id);
		this.ref = ref;
	}

	public Object getRef() {
		return ref;
	}

	public void setRef(Object ref) {
		this.ref = ref;
	}
	
}
